using System;

namespace EzPos.Utility
{
    /// <summary>
    /// Summary description for StringHelper.
    /// </summary>
    public class IntegerHelper
    {
        public static int NullableIntToInt(int? nullableInt)
        {
            return nullableInt == null ? 0 : Int32.Parse(nullableInt.ToString());
        }
    }
}